/* 二手商品地图展示系统样式 */
:root {
  --theme-bg-color: rgba(16, 18, 27, 0.4);
  --border-color: rgba(113, 119, 144, 0.25);
  --theme-color: #f9fafb;
  --inactive-color: rgb(113, 119, 144, 0.78);
  --highlight-color: #00b0ff;
  --secondary-color: #ffc107;
}

/* 导航描述文字样式 */
.nav-desc {
  color: var(--theme-color);
  font-size: 16px;
  margin-top: 10px;
  margin-bottom: 20px;
  opacity: 0.8;
  max-width: 600px;
}

/* 商品地图容器样式 */
.goods-map-container {
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 10px;
  background-color: transparent;
  backdrop-filter: blur(20px);
}

/* 地图图表样式 */
#goodsMapChart {
  width: 100%;
  height: 750px !important; /* 增加高度 */
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 180, 255, 0.1);
  transition: all 0.5s ease;
}

#goodsMapChart:hover {
  box-shadow: 0 0 40px rgba(0, 180, 255, 0.2);
}

/* 筛选器样式 */
.goods-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.filter-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--theme-color);
  margin: 0;
}

.filter-options {
  display: flex;
  align-items: center;
}

.filter-options span {
  margin-right: 10px;
  color: var(--theme-color);
}

.goods-select {
  background-color: rgba(255, 255, 255, 0.9); /* 半透明白色背景 */
  border: 1px solid rgba(0, 0, 0, 0.1); /* 浅灰色边框 */
  border-radius: 5px;
  padding: 8px 12px;
  color: #444; /* 深灰色文字 */
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none; /* 移除默认样式 */
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
}

/* 悬停效果 */
.goods-select:hover {
  background-color: #fff;
  border-color: var(--theme-color);
}

/* 聚焦效果 */
.goods-select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
  border-color: var(--theme-color);
}

/* 选项样式 */
.goods-select option {
  background: #fff;
  color: #333;
  padding: 8px;
}

/* 商品信息区域样式 */
.goods-info {
  display: flex;
  margin-top: 20px;
  flex-wrap: wrap;
}

.rank-info {
  flex: 1;
  width: 100%;
}

.rank-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.rank-title {
  color: var(--theme-color);
  margin: 0;
  font-size: 16px;
  border-left: 3px solid var(--highlight-color);
  padding-left: 10px;
}

.rank-info h4 {
  color: var(--theme-color);
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 16px;
}

.highlight-text {
  color: var(--highlight-color);
  font-weight: bold;
  margin: 0 5px;
}

.total-count {
  margin-left: 20px;
}

.province-rank-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.rank-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  transition: all 0.3s ease;
}

.rank-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.rank-num {
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 10px;
  color: var(--theme-color);
  font-weight: bold;
  font-size: 14px;
}

.top-1 .rank-num {
  background-color: #ffd700;
  color: #000;
}

.top-2 .rank-num {
  background-color: #c0c0c0;
  color: #000;
}

.top-3 .rank-num {
  background-color: #cd7f32;
  color: #000;
}

.rank-province {
  flex: 1;
  color: var(--theme-color);
}

.rank-count {
  color: var(--highlight-color);
  font-weight: bold;
}

/* 趋势分析容器样式 */
.goods-trend-container {
  padding: 20px;
  border-radius: 10px;
  background-color: transparent;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.trend-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--theme-color);
  margin-top: 0;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}

.trend-title span {
  color: var(--highlight-color);
  margin-right: 5px;
}

.trend-desc {
  color: var(--theme-color);
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.5;
}

.trend-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trend-list li {
  margin-bottom: 12px;
  color: var(--theme-color);
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
}

.trend-list li:before {
  content: "•";
  color: var(--highlight-color);
  margin-right: 10px;
  font-size: 18px;
}

.trend-point {
  color: var(--secondary-color);
  font-weight: bold;
  margin-right: 5px;
}

/* 适配移动设备 */
@media screen and (max-width: 768px) {
  .goods-filter {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .filter-options {
    margin-top: 10px;
  }
  
  .province-rank-list {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

#phonemonthvalue {
  margin: 20px auto;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

/* 容器样式 */
#radarchart {
  width: 100%;
  max-width: 1200px;
  height: 300px;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#circlechart {
  width: 600px;
  height: 400px;
  margin: 20px auto;
  border-radius: 10px;
  background: #f0f2f5;
}